import java.sql.SQLException;
import java.util.ArrayList;

import com.ckv.qcm.controller.ResultController;
import com.ckv.qcm.model.Answer;
import com.ckv.qcm.model.AnswerType;
import com.ckv.qcm.model.Question;
import com.ckv.qcm.model.Result;
import com.ckv.qcm.model.Section;
import com.ckv.qcm.model.Test;
import com.ckv.qcm.model.Theme;
import com.ckv.qcm.model.dao.TestDAO;

public class testCharles {

	public static void main(String args[]){

		

	 System.out.println("Test");
	 ArrayList<Result> results=new ArrayList<Result>();
	 

	 ArrayList<Long> rr;
	try {
		rr = Test.findQuestionsBySession((long)2);
	
	 for (Long long1 : rr) {
		System.out.println(long1);
	}
	 
	 long i=1;
	} catch (SQLException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}



//	 results.add(new Result(1,2,4,1,2,true));
//	 results.add(new Result(1,2,6,1,2,true));
//	 results.add(new Result(1,2,8,1,2,true));
//	 results.add(new Result(1,2,7,1,2,true));
	 //ResultController rc=new ResultController();

	 
	//System.out.println( rc.checkResult(results, (long)2));
	

	// TODO Auto-generated catch block
//	e.printStackTrace();
//	System.out.println(e.getMessage());

 
 
	}
}
